//
//  WXPKAudioPlayerManager.h
//  WXClassBattle
//
//  Created by tianlong on 2018/5/4.
//  Copyright © 2018年 tianlong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "WXPKAudioPlayer.h"

/** wav声音格式 */
//#define PK_AudioType_Wav @"wav"
/** mp3声音格式 */
#define PK_AudioType_Mp3 @"mp3"

/** pk_宝箱弹开 */
#define PK_AudioName_OpenBox  @"PK_AudioName_OpenBox"
/** pk_打字 */
#define PK_AudioName_Typewriting  @"PK_AudioName_Typewriting"
/** pk_欢呼 */
#define PK_AudioName_Cheer  @"PK_AudioName_Cheer"
/** k_金币_能量落袋 */
#define PK_AudioName_GoldAndEnergy  @"PK_AudioName_GoldAndEnergy"
/** pk_匹配对手碰撞 */
#define PK_AudioName_OpponentMatching  @"PK_AudioName_OpponentMatching"
/** pk_跑马灯 */
#define PK_AudioName_ChooseTeam  @"PK_AudioName_ChooseTeam"


/** pk_开始战斗 */
#define PK_AudioName_StartBattle  @"PK_AudioName_StartBattle"
/** pk_胜利 */
#define PK_AudioName_Win  @"PK_AudioName_Win"
/** pk_失败 */
#define PK_AudioName_Lose  @"PK_AudioName_Lose"
/** pk_战斗背景 */
#define PK_AudioName_BattleMusic  @"PK_AudioName_BattleMusic"
/** pk_战队PK赛欢迎音效男童音 */
#define PK_AudioName_WellcomeBoyVoice  @"PK_AudioName_WellcomeBoyVoice"

@interface WXPKAudioPlayerManager : NSObject

- (void)pauseAll;
- (void)playAll;
- (void)stopAll;
- (void)stopWithFileName:(NSString *)fileName;
- (WXPKAudioPlayer *)audioPlayerForKey:(NSString *)key;
- (void)playWithFileName:(NSString *)fileName
                fileType:(NSString *)fileType;
- (void)playWithFileName:(NSString *)fileName
                fileType:(NSString *)fileType
           numberOfLoops:(NSInteger)numberOfLoops;
- (void)playWithFileName:(NSString *)fileName
                fileType:(NSString *)fileType
                  volume:(float)volume
           numberOfLoops:(NSInteger)numberOfLoops;

@end
